package com.example.mannortycoon.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.mannortycoon.entity.CompositeEntity;
import com.example.mannortycoon.uitl.R;
import com.example.mannortycoon.vo.CompositeItemVO;
import com.example.mannortycoon.vo.CompositeVO;

import java.util.Collection;
import java.util.List;

public interface CompositeService extends IService<CompositeEntity> {
    Collection<CompositeVO> listDetail();

    List<CompositeItemVO> listBySeedId(Long seedId);

    void saveCompositeBySeeId(Long seedId,List<CompositeEntity> list);

    R composite(Long userId,Integer number, Long seedId);
}
